package com.lcm.springcloud.controller;

import com.lcm.springcloud.service.SenderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @author Coder-lcm
 * @date 2020/10/31
 */
@RestController
public class SendMessageController {

    @Resource
    private SenderService senderService;

    @GetMapping("/sendMessage")
    public String sendMessage(){
        return senderService.send();
    }

}
